diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-30 08:28:13 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-30 08:28:13 +0000 |
| commit | 5b6313f16f508882a0ea67716b7dbaa1c6967f04 (patch) | |
| tree | 3d1d8dafea2f31274ace3fbda08333e889e06d1c /app/[lng]/pending/layout.tsx | |
| parent | 3f0fad18483a5c800c79c5e33946d9bb384c10e2 (diff) | |
(대표님) 20250630 16시 - 유저 도메인별 라우터 분리와 보안성검토 대응
Diffstat (limited to 'app/[lng]/pending/layout.tsx')
| -rw-r--r-- | app/[lng]/pending/layout.tsx | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app/[lng]/pending/layout.tsx b/app/[lng]/pending/layout.tsx new file mode 100644 index 00000000..2f767d1d --- /dev/null +++ b/app/[lng]/pending/layout.tsx @@ -0,0 +1,42 @@ +import { UserProfileBadge } from "@/components/layout/user-profile-badge" +import Image from "next/image" +import { authOptions } from "@/app/api/auth/[...nextauth]/route" +import { getServerSession } from "next-auth/next" +export default async function PendingLayout({ + children, +}: { + children: React.ReactNode +}) { + const session = await getServerSession(authOptions) + + return ( + <div className="min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100"> + {/* 헤더 없음 - 단순한 로고만 */} + <div className="w-full py-4 px-6"> + <div className="flex justify-between items-center"> + <div className="flex items-center gap-2"> + <Image + className="dark:invert" + src="/images/vercel.svg" + alt="EVCP Logo" + width={20} + height={20} + /> + <span className="text-lg font-bold text-gray-800">eVCP</span> + </div> + + {/* 간단한 사용자 정보만 */} + <UserProfileBadge user={session?.user} /> + </div> + </div> + + {/* 메인 컨텐츠 */} + <main className="container mx-auto px-6 py-8"> + {children} + </main> + </div> + ) +} + + + |
